<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SpotManagement.ascx.cs" Inherits="admin_SpotManagement" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<table>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label1" runat="server" Text="Name:"></asp:Label></td>
        <td style="width: 100px">
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
        <td style="width: 100px">
        </td>
        <td style="width: 220px">
            <asp:Label ID="Label7" runat="server" Text="Tag:"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label2" runat="server" Text="Category:"></asp:Label></td>
        <td style="width: 100px">
            <asp:DropDownList ID="cmbCategory" runat="server" OnSelectedIndexChanged="cmbCategory_SelectedIndexChanged">
            </asp:DropDownList></td>
        <td style="width: 100px">
        </td>
        <td style="width: 220px">
            <asp:TextBox ID="txtTag" runat="server"></asp:TextBox></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label3" runat="server" Text="Location:"></asp:Label></td>
        <td style="width: 100px">
            <asp:DropDownList ID="cmbLocation" runat="server" OnSelectedIndexChanged="cmbLocation_SelectedIndexChanged">
            </asp:DropDownList></td>
        <td style="width: 100px">
        </td>
        <td colspan="2">
            <asp:Label ID="Label8" runat="server" Text="Is recommended:"></asp:Label><asp:CheckBox
                ID="chkIsRecommended" runat="server" OnCheckedChanged="chkIsRecommended_CheckedChanged" /></td>
    </tr>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label5" runat="server" Text="Description:"></asp:Label></td>
        <td style="width: 100px">
            <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox></td>
        <td style="width: 100px">
        </td>
        <td colspan="2">
            <asp:Label ID="Label4" runat="server" Text="Published:"></asp:Label>
            <asp:CheckBox ID="ckhState" runat="server" /></td>
    </tr>
    <tr>
        <td style="width: 111px; height: 26px">
            <asp:Label ID="Label9" runat="server" Text="Rank:"></asp:Label></td>
        <td style="width: 100px; height: 26px">
            <asp:TextBox ID="txtRank" runat="server"></asp:TextBox></td>
        <td style="width: 100px; height: 26px">
        </td>
        <td style="width: 220px; height: 26px">
            &nbsp;<asp:LinkButton ID="lnkAdd" runat="server" CssClass="c_button" OnClick="lnkAdd_Click" >Add</asp:LinkButton>
            <asp:LinkButton ID="lnkUpdate" runat="server" CssClass="c_button" OnClick="lnkUpdate_Click">Update</asp:LinkButton>
            <asp:LinkButton
                ID="lnkDelete" runat="server" CssClass="c_button" OnClick="lnkDelete_Click" OnClientClick="return confirm('Are you sure want to delete?');">Delete</asp:LinkButton></td>
        <td style="width: 100px; height: 26px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px; height: 24px">
            <asp:Label ID="Label6" runat="server" Text="Image URL:"></asp:Label></td>
        <td style="height: 24px">
            <input id="txtImage" name="txtImage" type="text" value="<%=ImageURL %>"/></td>
        <td style="height: 24px">
            <input id="btnBrowseImage" onclick="browseFile()" type="button" value="Browse" /></td>
        <td style="width: 220px; height: 24px">
            &nbsp;
        </td>
        <td style="width: 100px; height: 24px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
        </td>
        <td style="width: 100px">
            <img id="imgRepresentimage" src="<%=ImageURL %>" /></td>
        <td style="width: 100px">
        </td>
        <td style="width: 220px">
        </td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
            Article:</td>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
        </td>
        <td style="width: 220px">
        </td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td colspan="5">
            <FCKeditorV2:FCKeditor ID="fckArticle" runat="server" BasePath="~/fckeditor/" Height="400px">
            </FCKeditorV2:FCKeditor>           
        </td>
    </tr>
    <tr>
    
    </tr>
    <tr>
    </tr>
</table>
<script type="text/javascript" language="javascript">    
	window.location.hash="<%=ActiveAccording %>";
</script>